home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
u_man
/
cat1
/
echo.z
/
echo
Wrap
Text File
|
1998-10-20
|
3KB
|
66 lines
EEEECCCCHHHHOOOO((((1111)))) EEEECCCCHHHHOOOO((((1111))))
NNNNAAAAMMMMEEEE
echo - echo arguments
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
eeeecccchhhhoooo [ ----nnnn ] [ arg ] ...
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_e_c_h_o writes its arguments separated by blanks and terminated by a new-
line (except when "-n" is specified, see below) on the standard output.
It also understands C-like escape conventions; beware of conflicts with
the shell's use of \\\\:
\\\\bbbb backspace
\\\\cccc print line without new-line
\\\\ffff form-feed
\\\\nnnn new-line
\\\\rrrr carriage return
\\\\tttt tab
\\\\vvvv vertical tab
\\\\\\\\ backslash
\\\\0000_n where _n is the 8-bit character whose ASCII code is the 1-, 2-
or 3-digit octal number representing that character.
_e_c_h_o has two operating modes. By default, _e_c_h_o operates compatibly with
certain earlier versions of System V _e_c_h_o. If the environment variable
____XXXXPPPPGGGG is defined, and has a numeric value greater than 0, sed operates in
conformance with the X/Open XPG4 specifications. In this mode, when ----nnnn is
specified, it is treated as a string, like any other arguments. In the
backward compatibility mode, when ----nnnn is specified, it means "no new-
line". The arguments will not be terminated by a new-line on the standard
output.
_e_c_h_o is useful for producing diagnostics in command files and for sending
known data into a pipe.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
csh(1), sh(1).
CCCCAAAAVVVVEEEEAAAATTTTSSSS
When representing an 8-bit character by using the escape convention \\\\0000_n,
the _n must aaaallllwwwwaaaayyyyssss be preceded by the digit zero (0).
For example, typing: eeeecccchhhhoooo ''''WWWWAAAARRRRNNNNIIIINNNNGGGG::::\\\\00007777'''' will print the phrase WWWWAAAARRRRNNNNIIIINNNNGGGG::::
and sound the ``bell'' on your terminal. The use of single (or double)
quotes (or two backslashes) is required to protect the ``\'' that
precedes the ``07''.
For the octal equivalents of each character, see ascii(5).
echo is often a builtin to the shells, see the shell man pages for
feature specific to each shell. This man page documents the executable
program, not the builtin versions, although they are similar.
PPPPaaaaggggeeee 1111